<template>
    <div>
        <button @click="out">退出登入</button>
       
    </div>
</template>

<script>
export default {
    name:'TabbarMember',
    data(){
        return{

        }
    },
    methods:{
        out(){
            localStorage.setItem('data','');
             this.$router.push('/login')

        }
    }
}
</script>

<style>

</style>